package com.jy.adscm.zltx.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zyl
 * @since 2018-11-02
 */
public class QsFileVersionRecord implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("fileId")
    private Integer fileId;
    @TableField("fileCode")
    private String fileCode;
    @TableField("versionCode")
    private String versionCode;
    @TableField("fileContentId")
    private Integer fileContentId;
    @TableField("issuer")
    private String issuer;
    @TableField("issueTime")
    private Date issueTime;
    @TableField("versionDesc")
    private  String versionDesc;

    public String getVersionDesc() {
        return versionDesc;
    }

    public void setVersionDesc(String versionDesc) {
        this.versionDesc = versionDesc;
    }

    public String getIssuer() {
        return issuer;
    }

    public void setIssuer(String issuer) {
        this.issuer = issuer;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getIssueTime() {
        return issueTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setIssueTime(Date issueTime) {
        this.issueTime = issueTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getFileId() {
        return fileId;
    }

    public void setFileId(Integer fileId) {
        this.fileId = fileId;
    }

    public String getFileCode() {
        return fileCode;
    }

    public void setFileCode(String fileCode) {
        this.fileCode = fileCode;
    }

    public String getVersionCode() {
        return versionCode;
    }

    public void setVersionCode(String versionCode) {
        this.versionCode = versionCode;
    }

    public Integer getFileContentId() {
        return fileContentId;
    }

    public void setFileContentId(Integer fileContentId) {
        this.fileContentId = fileContentId;
    }

    @Override
    public String toString() {
        return "QsFileVersionRecord{" +
        "id=" + id +
        ", fileId=" + fileId +
        ", fileCode=" + fileCode +
        ", versionCode=" + versionCode +
        ", fileContentId=" + fileContentId +
        "}";
    }
}
